package C:.Users.DELL.IdeaProjects.Mm.entity.book;

import java.io.Serializable;
import lombok.Data;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  
 * @Date 2023-11-17 
 */

@Data
@Accessors(chain = true)
@TableName("book_chapter")
public class BookChapter  implements Serializable {



   @TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 小说ID
	 */
	private Long bookId;

	/**
	 * 章节号
	 */
	private Integer chapterNum;

	/**
	 * 章节名
	 */
	private String chapterName;

	/**
	 * 章节字数
	 */
	private Long wordCount;

	/**
	 * 是否收费;1-收费 0-免费
	 */
	private Integer vipIf;

   @TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;

   @TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}
